﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/admin/admin.master" AutoEventWireup="true" CodeBehind="UserActivityCheck.aspx.cs" Inherits="web.admin.UserActivityCheck" 
    Title="活动用户审批" %>
    
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table class="SubMenu_Item" cellspacing="0" cellpadding="0" width="100%" border="0">
        <tbody>
            <tr>
                <td>
                    <table cellspacing="0" cellpadding="0" border="0">
                        <tbody>
                            <tr>
                                <td class="Current_Item" id="TD2">活动用户审批</td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>
    
    <table cellspacing="0" cellpadding="0" width="100%" border="0">
        <tbody>
	        <tr>
	            <td>
	                <asp:Label ID="errorMsg" Visible="false" Text="" runat="server" ForeColor="red"/>
                     <asp:DetailsView ID="userActivityInfo" runat="server" AutoGenerateRows="False" SkinID="orange" DataKeyNames="Id" 
                        DefaultMode="Edit"  >
                        <Fields>
                            <asp:TemplateField HeaderText="申请人：" >
                                <EditItemTemplate>
                                    <asp:Label ID="userName" runat="server" Text='<%# Eval("UserName") %>'/>
                                </EditItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="活动名称：">
                                <EditItemTemplate>
                                    <asp:Label ID="activityName" runat="server" Text='<%# Eval("ActivityTitle") %>' />
                                </EditItemTemplate>
                            </asp:TemplateField>                             
                            <asp:TemplateField HeaderText="申请时间：">
                                <EditItemTemplate>
                                    <asp:Label ID="applyDate" runat="server" Text='<%# Eval("ApplyDate") %>' />
                                </EditItemTemplate>
                            </asp:TemplateField> 
                            <asp:TemplateField HeaderText="联系方式：">
                                <EditItemTemplate>
                                    <asp:Label ID="connactInfo" runat="server" Text='<%# Eval("ConnactInfo") %>' />
                                </EditItemTemplate>
                            </asp:TemplateField> 
                            <asp:TemplateField HeaderText="备注信息：">
                                <EditItemTemplate>
                                    <asp:Label ID="message" runat="server" Text='<%# Eval("Message") %>' />
                                </EditItemTemplate>
                            </asp:TemplateField> 
                            <asp:TemplateField HeaderText="审批：">
                                <EditItemTemplate>
                                    <asp:RadioButtonList ID="check" runat="server" AutoPostBack="true">
                                        <asp:ListItem Text="同意" Value="1" Selected="True"/>
                                        <asp:ListItem Text="不同意" Value="0"/>
                                    </asp:RadioButtonList>
                                </EditItemTemplate>
                            </asp:TemplateField>  
                            <asp:TemplateField HeaderText="审批意见：">
                                <EditItemTemplate>
                                    <asp:TextBox ID="Reply" runat="server" TextMode="MultiLine" width="450" height="50"></asp:TextBox>
                                </EditItemTemplate>
                            </asp:TemplateField>                             
                            <asp:TemplateField>
                                 <EditItemTemplate>
                                    <asp:Button ID="UpdateButton" runat="server"  CausesValidation="True" Text="提交" OnClick="UpdateButton_click"/> &nbsp;
                                    <asp:Button ID="UpdateCancelButton" runat="server" CausesValidation="False" Text="取消" OnClick="CancelButton_click"/>
                                </EditItemTemplate>
                            </asp:TemplateField>
                        </Fields>
                    </asp:DetailsView>                   
	            </td>
	        </tr> 	    
	    </tbody>
    </table>	                
</asp:Content>
